<script language="javascript">
{literal}
function submit_user(item_name){	
	document.ListUserAdminForm.hd_ac.value = item_name;	
}
jQuery(document).ready(function() {
	jQuery("#created_time_from").datepicker();
	jQuery("#created_time_to").datepicker();
  });
</script>
{/literal} 
<form>
<br />
<div class="product-list-paging" style="margin: 0px; padding: 0px;">{$paging}</div>
<table cellpadding="5" border="0" width="100%">
	<tr>
		<td width="20%">
		<font style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#0000CC; font-size:14px"><strong><a href="user_lock.html">Thành viên bị {if $type_check==1}khóa & KD{elseif $type_check==2}kiểm duyệt{else}khóa{/if}</a> ({$total_user})</strong></font>
		<div style="padding:10px">
			<input type="radio" name="type_check" value="1" id="type_check1" {if $type_check==1}checked{/if} /> <label for="type_check1"><b>Tất cả</b></label>
			<input type="radio" name="type_check" value="2" id="type_check2" {if $type_check==2}checked{/if}/> <label for="type_check2"><b>Kiểm duyệt</b></label>
			<input type="radio" name="type_check" value="3" id="type_check3" {if $type_check==3}checked{/if}/> <label for="type_check3"><b>Bị khóa</b></label>
		</div>
		</td>
  <td width="28%" align="left">
			<strong>Thời gian khóa (dd-mm-yyyy)</strong> <br /><br style="line-height:5px" />từ ngày:
			<input type="text" name="created_time_from" id="created_time_from" value="{$created_time_from}" /> 
			tới 
			<input type="text" name="created_time_to" id="created_time_to" value="{$created_time_to}" />
			<br /><br />
			<strong>Admin khóa</strong><br /><br style="line-height:5px" />
			<strong>Name:</strong>
		<input id="admin_text_value" type="text" name="admin_text_value" value="{$admin_text_value}"/>
		<strong>ID:</strong>
		<input type="text" name="admin_id_search" id="admin_id_search" value="{$admin_id_search}"/>	
		<br /><br style="line-height:10px" />
		<strong>Admin mở</strong><br /><br style="line-height:5px" />
			<strong>Name:</strong>
		<input id="admin_text_value_open" type="text" name="admin_text_value_open" value="{$admin_text_value_open}"/>
		</td>						
	  <td align="left" width="25%">
	  	<strong>Tài khoản User:</strong>
		<input id="text_value" type="text" name="text_value" value="{$text_value}"/>
		<strong>ID:</strong>
		<input type="text" name="id_search" id="id_search" value="{$id_search}"/>		
	  </td>
	  <td width="11%"><input type="submit" name="search" value="Tìm kiếm" /></td>
  </tr>
</table>
<br />
<table cellpadding="5" border="0" width="100%">
<tr>
	<td width="70"><b>ID</b></td>
	<td width="100"><b>Tài khoản</b></td>
	<td width="110"><b>Ngày khóa</b></td>
	<td width="100"><b>Người khóa</b></td>
	<td width="100"><b>Ngày mở</b></td>
	<td width="100"><b>Người mở</b></td>
	<td ><b>Lý do</b></td>
	<td  width="100" align="center"><b>Trạng thái</b></td>
	<td width="100" align="center"><b>Xem tin</b></td>
	<td width="100" align="center"><b>Xem lỗi</b></td>
	<td width="100" align="center"><b>Xử lý</b></td>
</tr>
{foreach from=$items item=items}
<tr>
	<td>{$items.user_id}</td>
	<td><a target="_blank" href="{$items.user_name}">{$items.user_name}</a></td>
	<td>{$items.time}</td>
	<td><a target="_blank" href="{$items.admin_name}">{$items.admin_name}</a></td>	
	<td>{$items.unlock_time}</td>
	<td><a target="_blank" href="{$items.unlock_user}">{$items.unlock_user}</a></td>
	<td>{$items.note}</td>
	<td align="center">{if $items.is_block}<font color="#FF0000">{$items.is_block}</font>{else}Đã mở{/if}</td>
	<td align="center"><a target="_blank" href="user.html?cmd=item_list&user_id={$items.user_id}">Xem tin</a></td>
	<td align="center"><a target="_blank" href="user.html?cmd=user_log&user_id={$items.user_id}">Xem lỗi</a></td>
	<td align="center">{if $items.is_block}<a href="{$items.unban_nick}" title="Mở nick">Mở nick</a>{/if}</td>
</tr>
{/foreach}
</table>
<br />
<div class="product-list-paging" style="margin: 0px; padding: 0px;">{$paging}</div>
<input type="hidden" id="hd_ac" name="hd_ac"/>
</form>
